/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.*;

/**
 * @author Abahe
 */
public class LatihanMIDlet extends MIDlet {
    Display display;
    MenuCanvas menuCanvas;

    public LatihanMIDlet(){
        display = Display.getDisplay(this);        
    }

    public void startApp() {
        menuCanvas = new MenuCanvas(this);        
        display.setCurrent(menuCanvas);
        menuCanvas.start();
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }

    public void exit(){
        destroyApp(false);
        notifyDestroyed();
    }
}
